﻿@inherits DBlazor.Base.BaseModal
@if ( !ComponentMapper.HasRegistration( this ) )
{
    <CascadingValue Value=this>
        <div class="@ClassMapper.Class" style="@StyleMapper.Style" tabindex="-1" role="dialog">
            @ChildContent
        </div>
    </CascadingValue>
}
else
{
    @RenderCustomComponent()
}